from module.man_hua import man_hua
from flask import request,render_template

# 初始化
def init():
    # 创建漫画作品索引
    from module.man_hua.manhua_works_index import create_manhua_works_index
    create_manhua_works_index('./static/man_hua/works/')
    # 导入添加作品模块

init()

@man_hua.route('/')
def index():
    return render_template('/man_hua/index.html')

@man_hua.route('/demo')
def demo():
    return render_template('/man_hua/demo.html')